/*
	Author: Drew Risinger, Chris Cochoff, Jordan Walsh, Cameron Holloway
	Course: COMP 220, Computer Programming II
	Date: February 24, 2014
	Description: This file defines the header the Card Class
*/
#ifndef __CARD_H
#define __CARD_H
#include <string>
using std::string;

enum Suit {clubs, diamonds, hearts, spades};

enum Value {deuce, trey, four, five, six, seven, eight, nine, ten,
jack, king, queen, ace};

class Card {
public:
	Card(Value faceValue=deuce, Suit suit = clubs): 
	suit(suit), faceValue(faceValue) {}
	Suit getSuit() { return suit; }
	Value getValue() { return faceValue; }
	int getCardValue(void);
	static string suitName(Suit s);
	static string valueName(Value v);
	string name() { return valueName(faceValue) + " of " + suitName(suit); 
}
private:
	Suit suit;
	Value faceValue;
};
#endif